#include "StdAfx.h"
#include "DamageAction.h"


DamageAction::DamageAction(float dmg)
{
	damage = dmg;
}


DamageAction::~DamageAction(void)
{
}



bool DamageAction::FireTrigger(EntityControl *entity)
{
	entity->causeDamage(damage);
	return true;
}